package com.houger.ddd.seckill.facade.dto;

import com.alibaba.fastjson.JSONObject;
import com.houger.ddd.common.base.BaseActivityDto;
import com.houger.ddd.common.base.BaseExtDataDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serial;

/**
 * 活动模板UI配置表
 *
 * @author Administrator
 * @version $$ Revision:1.0.0, $$ Date: 2022-02-20 13:46:58 $$
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class ActivityTemplateUiConfigDto extends BaseActivityDto {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description ="活动模板ID")
    private Long templateId;
    @Schema(description ="活动规则")
    private String ruleDesc;
    @Schema(description ="活动主图")
    private String homepageImage;
    @Schema(description ="背景颜色")
    private String homepageColor;
    @Schema(description ="分享标题")
    private String shareTitle;
    @Schema(description ="分享图片")
    private String shareImage;
    @Schema(description ="分享底图")
    private String shareBottomImage;
    @Schema(description ="扩展参数")
    private JSONObject extDataJson;
    @Schema(description ="扩展参数对象")
    private BaseExtDataDto extDataObj;

}
